
import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import vn.hus.nlp.sd.SentenceDetector;


/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author lê quang thắng
 */
public class Temp {
    public static void main(String[] args) {
        try {
            SentenceDetector test = new SentenceDetector("C:/Users/Notebok/Desktop/bo phan tach cau/resources/models/sd/VietnameseSD.bin");
            String[] str = test.detectSentences("C:/test0.txt");
            for (int i = 0; i < str.length; i++) {
                String string = str[i];
                System.out.println(string);
            }
        } catch (IOException ex) {
            Logger.getLogger(Temp.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
